﻿<phone:PhoneApplicationPage 
    x:Class="V5_PhoneAppQianDa.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,5">
            <TextBlock x:Name="ApplicationTitle" Text="V5软件-抢答器" Style="{StaticResource PhoneTextNormalStyle}"/>
        </StackPanel>
        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <ScrollViewer>
                <StackPanel>
                    <Button x:Name="BtnStart">开始</Button>
                    <Button x:Name="BtnStop">结束</Button>
                    <toolkit:ListPicker Header="时间间隔:" x:Name="LpStepTime" >
                        <sys:String>100</sys:String>
                        <sys:String>500</sys:String>
                        <sys:String>1000</sys:String>
                        <sys:String>2000</sys:String>
                    </toolkit:ListPicker>
                    <toolkit:ListPicker Header="访问地址:" x:Name="LpUrl" >
                        <sys:String>http://www.v5soft.com/${username}</sys:String>
                        <sys:String>http://192.168.3.100:1234/b.aspx?anum=${username}</sys:String>
                    </toolkit:ListPicker>
                    <TextBlock Text="人员:$$$$" Margin="15 0"/>
                    <TextBox x:Name="TxtUserList" Height="280"/>
                    <StackPanel>
                        <TextBlock x:Name="TbResult" Text="结果:" Margin="15 0"/>
                    </StackPanel>
                </StackPanel>
            </ScrollViewer>
        </Grid>
    </Grid>
</phone:PhoneApplicationPage>